function f(userId) {
    if(window.confirm("确定把该用户标记为已删除吗？")){
        window.location.href=getRealPath()+"/userServlet?action=deleteUser&userId="+userId;
    }
}